class CreateFeeds < ActiveRecord::Migration
  def self.up
    create_table :feeds do |t|
      t.integer :enterprise_id
      t.integer :order_item_id
      t.integer :installation_id
      t.integer :order_made_id
      t.integer :enter_id
      t.integer :position
      t.string :type
      t.timestamps
    end
  end

  def self.down
    drop_table :feeds
  end
end
